<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登陆</title>
</head>
<body>
    <h1>欢迎登陆</h1>
    <form th:action="@{/login}" th:object="${user}" method="post">
        <label for="nickname">nickname:</label>
        <input type="text" name="nickname" id="nickname"/>
        <label for="password">password:</label>
        <input type="text" name="password" id="password"/>
        <input type="submit" value="submit">
    </form>
</body>
</html>